/**
 * Witontek.com.
 * Copyright (c) 2012-2017 All Rights Reserved.
 */
package com.witon.witontool.web.controller.dbcheck.model;

import com.witon.witontool.core.model.base.BaseModel;

/**
 * 
 * @author Long
 * @version $Id: Field.java, v 0.1 2017年6月30日 下午4:17:20  xiaolong.ma  Exp $
 */
public class Field extends BaseModel {
    /**  */
    private static final long serialVersionUID = -2967822289873052956L;
    private String            name;
    private String            type;
    private int               length;
    private String            remarks;
    private boolean           isPk;

    /**
     * Getter method for property <tt>remarks</tt>.
     * 
     * @return property value of remarks
     */
    public String getRemarks() {
        return remarks;
    }

    /**
     * Setter method for property <tt>remarks</tt>.
     * 
     * @param remarks value to be assigned to property remarks
     */
    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    /**
     * Getter method for property <tt>isPk</tt>.
     * 
     * @return property value of isPk
     */
    public boolean isPk() {
        return isPk;
    }

    /**
     * Setter method for property <tt>isPk</tt>.
     * 
     * @param isPk value to be assigned to property isPk
     */
    public void setPk(boolean isPk) {
        this.isPk = isPk;
    }

    private String memo;

    /**
     * Getter method for property <tt>memo</tt>.
     * 
     * @return property value of memo
     */
    public String getMemo() {
        return memo;
    }

    /**
     * Setter method for property <tt>memo</tt>.
     * 
     * @param memo value to be assigned to property memo
     */
    public void setMemo(String memo) {
        this.memo = memo;
    }

    /**
     * Getter method for property <tt>name</tt>.
     * 
     * @return property value of name
     */
    public String getName() {
        return name;
    }

    /**
     * Setter method for property <tt>name</tt>.
     * 
     * @param name value to be assigned to property name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * Getter method for property <tt>type</tt>.
     * 
     * @return property value of type
     */
    public String getType() {
        return type;
    }

    /**
     * Setter method for property <tt>type</tt>.
     * 
     * @param type value to be assigned to property type
     */
    public void setType(String type) {
        this.type = type;
    }

    /**
     * Getter method for property <tt>length</tt>.
     * 
     * @return property value of length
     */
    public int getLength() {
        return length;
    }

    /**
     * Setter method for property <tt>length</tt>.
     * 
     * @param length value to be assigned to property length
     */
    public void setLength(int length) {
        this.length = length;
    }
}
